import { CALC_INPUT, CALC_COMMIT, CALC_CLEAR } from "../constants/action-type"

export const input = (value) => ({ type: CALC_INPUT, payload: value });

export const commit = () => ({ type: CALC_COMMIT });

export const clear = () => ({ type: CALC_CLEAR });